package net.sky.oa.service.system.impl;

import java.util.List;

import javax.annotation.Resource;

import net.sky.oa.dao.system.MyGroupDao;
import net.sky.oa.model.MyGroup;
import net.sky.oa.service.system.MyGroupService;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.htsoft.core.service.impl.BaseServiceImpl;

@Service
@Transactional
public class MyGroupServiceImpl extends BaseServiceImpl<MyGroup> implements MyGroupService {
	
	private MyGroupDao dao;

	@Resource
	public void setDao(MyGroupDao dao) {
		super.setDao(dao);
		this.dao = dao;
	}

	@Transactional(readOnly=true)
	public List<MyGroup> findAllGroup() {
		return this.dao.findAllGroup();
	}
 
}